package com.ruoyi.backend.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 用户列表对象 member
 *
 * @author 王冰冰
 * @date 2025-03-18
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class Member extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 会员ID
     */
    @Excel(name = "会员ID")
    private Long memberId;

    /**
     * 会员名
     */
    @Excel(name = "会员名")
    private String memberName;

    /**
     * 手机号
     */
    @Excel(name = "手机号")
    private String phone;

    /**
     * 注册时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date registerTime;

    /**
     * 头像
     */
    @Excel(name = "头像")
    private String avatar;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 扩展字段1
     */
    private String ext1;

    /**
     * 扩展字段2
     */
    private String ext2;

    /**
     * 扩展字段3
     */
    private String ext3;

    /**
     * 扩展字段4
     */
    private String ext4;

    /**
     * 扩展字段5
     */
    private String ext5;

    /**
     * 开始注册时间 筛选用
     */
    private String beginRegisterTime;

    /**
     * 结束注册时间 筛选用
     */
    private String endRegisterTime;
}